home *** CD-ROM | disk | FTP | other *** search
/ Directorty Opus 5 - Magellan 2 / Opus 5 - Magellan 2.iso / Extras / DOPbt2 / 2 / UNZIP-it.txt < prev   
Text File  |  1996-06-13  |  3KB  |  80 lines

  1. ##
  2. ## $VER: OPUS.SHELLtxt 2.0
  3. ##
  4.  
  5.  
  6.  
  7. Have you ever stumbled across a .ZIP kind of archive ? It is commonly used
  8. on the PC, but there IS an Amiga version... Only one problem... UNZIP
  9. uses the current directory to unzip, so click'n'click is of litle use
  10. if you are an OPUS addict...
  11.  
  12. NOT ANYMORE ! Here is the sollution : (hold on to your heads, its a
  13. BIIIG one)
  14.  
  15.  
  16. This is how to do it:
  17.  
  18. Start the config-editor ( <-;), go to FILETYPES, and add the .zip 
  19. as a filetype (if it isn't in the list already, all you do is create
  20. a new filetype, and "MATCHNAME #?.zip" )
  21.  
  22. ---------------------------------------
  23. In filetypes, pick          Action      Click-m-click
  24.  
  25. NEW ENTRY's AmigaDOS    c:makedir ram:zip
  26.             AmigaDOS    c:copy {fu} to ram:zip/test.zip
  27.             AmigaDOS    c:cd ram:zip
  28.             AmigaDOS    c:unzip test.zip
  29.             AmigaDOS    c:delete ram:zip/test.zip quiet
  30.             AmigaDOS    c:copy ram:zip/#? all {d}
  31.             Command     FinishSection
  32.             AmigaDOS    c:echo "deleting obsolete files..."
  33.             AmigaDOS    c:delete ram:zip all quiet
  34.  
  35.  
  36. flags : Do all files
  37.         Output window
  38.         Rescan destination
  39.  
  40.  
  41. ---------------------------------------
  42.  
  43. you will need makedir, copy, cd, unzip, delete and echo in the c: directory.
  44. I did not include UNZIP, it is just to large for my intentions...
  45.  
  46. ---------------------------------------
  47.  
  48. What happens is that the zip-file is copied to your ram: disk, in a new
  49. and empty directory, unzipped there, and all the unzipped files will be
  50. copied to the destination path...
  51.  
  52. I know of one more programm that doesn't support unpacking to a specific
  53. destination, HPACK, and you can use exactly the same trick for that one. In
  54. fact you can use this one for EVERY archiver that doesn't support unpacking
  55. to a destination...
  56.  
  57.                       
  58. Let me know what you think, and if you use it (and why not...?).
  59.  
  60.  
  61.        ·······························································
  62.        .#.####..............................................####.#..#.
  63.        ##.#..#........._______....______......_______.......#..#.#..#.
  64.        .#.####......../      /....|     \.....\      .......####.####.
  65.        .#....#......./______/.....|______|.....\      .........#....#.
  66.        .#.####....../      /......|      |......\      .....####....#.
  67.        ............/....../.......|_____/........\_______.............
  68.        ...............................................................
  69.        .............ABC, THE CUTEST LAMER IN THE BUSINESS.............
  70.        .                                                             .
  71.        .                   Niels van \X/illigenburg                  .
  72.        .______                 Millingenhof 123                ______.
  73.        /      \             NL-1106 KH   AMSTERDAM            /      \
  74.        | O  O |                  Netherlands                  | O  O |
  75.        |  /\  |                    Europe                     |  /\  |
  76.        | \__/ |               +31 (0)20-6979932               | \__/ |
  77.        .\____/               FIDO -> 2:280/464.17              \____/.
  78.        .                          -> niels@aobh.xs4all.nl            .
  79.        ·······························································
  80.